﻿@inherits DBlazor.Base.BaseDropdownToggle
@if ( !ComponentMapper.HasRegistration( this ) )
{
    <SimpleButton Class="@ClassMapper.Class" Size="@Size" Color="@Color" IsOutline="@IsOutline" Clicked="@ClickHandler">
        @ChildContent
    </SimpleButton>
}
else
{
    @RenderCustomComponent()
}